package com.atguigu.gulimall.member.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @FeignClient 声明这是一个远程调用的接口
 */

@FeignClient("gulimall-coupon")
public interface CouponService {

    @RequestMapping("/coupon/coupon/member/coupons")
    R memberCoupons();
}
